package com.gt.web.api.common;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * Page
 * </p>
 *
 * @author: WeiHuan
 * @version:1.0
 * @date: 2024/2/5 21:23
 * 注意：本内容仅限于公司内部传阅，禁止外泄以及用于其他的商业目的
 */


@Data
@ApiModel(description = "分页实体")
public class PageBase {

    /**
     * 每页数量
     */
    @ApiModelProperty(value = "每页数量",required = true)
    private Integer PageSize=10;
    /**
     * 页码
     */
    @ApiModelProperty(value = "当前页码",required = true)
    private Integer pageNum=1;

}